package com.constants;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

public interface RedisConst {

    String BASE = "SASS:MAMANGERWEB:";

    String USER_LOGIN = BASE + "USER:LOGIN:";

    String USER_LOGIN_INFO = BASE + "USER:LOGININFO:";

    String USER_STATUS = BASE + "USER:STATUS:";

    //司机报名时发送手机验证码
    String DRIVER_SIGN_UP = BASE + "DRIVER:SIGNUP:";

    String CONTRACT_BILL_NO_INCR_OF_DAY = BASE + "CONTRACT_BILL_NO:INCR_OF_DAY:";

    String DATA_BOARD = BASE + "DATA_BOARD:";

    /**
     * 违章看板数据
     */
    String DATA_BOARD_VIOLATION = DATA_BOARD + "VIOLATION:";

    /**
     * 订单看板数据
     */
    String DATA_BOARD_ORDER = DATA_BOARD + "ORDER:";

    String CITY_HANG_ZHOU = "杭州市";
    /**
     * 通用缓存
     */
    String COMMON = "SASS:COMMON:";
    /**
     * 最近30天各地区订单量总数
     */
    String ORDER_COUNT = COMMON + "ORDER_COUNT:";

    /**
     * 杭州市最近30天订单量总数
     */
    String ORDER_COUNT_OF_LAST_30_DAY_HANG_ZHOU = ORDER_COUNT + "LAST_30_DAY:" + CITY_HANG_ZHOU;

    /**
     * 最近两天各地区订单数量
     */
    String ORDER_COUNT_OF_RECENT = ORDER_COUNT + "RECENT:";

    Set<String> DISTRICT_NAME_SET_OF_HANG_ZHOU = new HashSet(
        Arrays.asList("上城区", "钱塘区", "拱墅区", "西湖区", "滨江区", "萧山区", "余杭区",
            "桐庐县", "淳安县", "建德市", "富阳区", "临安区", "临平区"));


    /**
     * 每日营运收入趋势
     */
    String INCOME= "SASS:MAMANGERWEB:INCOME:";

    /**
     * 每日载客次数趋势
     */
    String COUNT= "SASS:MAMANGERWEB:COUNT:";
    /**
     * 每日行驶里程趋势
     */
    String DRIVEN_MILEAGE= "SASS:MAMANGERWEB:DRIVEN_MILEAGE:";
    /**
     * 每日营运里程趋势
     */
    String OPERATING_MILEAGE= "SASS:MAMANGERWEB:OPERATING_MILEAGE:";
    /**
     * 每日平均每趟营运收入趋势
     */
    String AVG_INCOME= "SASS:MAMANGERWEB:AVG_INCOME:";
    /**
     * 每日平均每趟营运里程趋势
     */
    String AVG_OPERATING_MILEAGE= "SASS:MAMANGERWEB:AVG_OPERATING_MILEAGE:";
    /**
     * 每日平均每趟营运时间趋势
     */
    String AVG_OPERATING_TIME= "SASS:MAMANGERWEB:AVG_OPERATING_TIME:";
    /**
     * 载客发生时间分布
     */
    String PASSENGER_LOAD_TIME= "SASS:MAMANGERWEB:PASSENGER_LOAD_TIME:";

    /**
     * 人均月营收（今年）
     */
    String PERSON_PER_AVG_INCOME= "SASS:MAMANGERWEB:PERSON_PER_AVG_INCOME:";
    /**
     * 人均月营收（去年）
     */
    String PERSON_PER_AVG_INCOME_LASTYEAR= "SASS:MAMANGERWEB:PERSON_PER_AVG_INCOME_LASTYEAR:";

    /**
     * 单车日均营运收入趋势
     */
    String DAY_AVG_INCOME= "SASS:MAMANGERWEB:DAY_AVG_INCOME:";
    /**
     * 单车日均载客次数趋势
     */
    String AVG_PASSENGER_COUNT= "SASS:MAMANGERWEB:AVG_PASSENGER_COUNT:";
    /**
     * 单车日均百公里营运收入趋势
     */
    String AVG_KILOMETER_INCOME= "SASS:MAMANGERWEB:AVG_KILOMETER_INCOME:";
    /**
     * 单车日均营运里程趋势
     */
    String DAY_AVG_OPERATING_MILEAGE= "SASS:MAMANGERWEB:DAY_AVG_OPERATING_MILEAGE:";
    /**
     * 工作台-今日数据
     */
    String TODAY_DATA = BASE+"TODAY:DATA:";

    /**
     * 车辆出围栏
     */
    String CAR_OUT_FENCE = BASE + "CAR:OUTFENCE";
}
